projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05b99c9
)
xl: Fix undefined behaviour when pci not specified in input file
author
Keir Fraser
<keir.fraser@citrix.com>
Fri, 5 Mar 2010 14:35:44 +0000
(14:35 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Fri, 5 Mar 2010 14:35:44 +0000
(14:35 +0000)
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/xl.c
patch
|
blob
|
history
diff --git
a/tools/libxl/xl.c
b/tools/libxl/xl.c
index 6e88c6ee6a5e6bdc7bfe00c4a68d1893e6c38c09..2e23da3307ed94a606c7062b3fa60a577c92ffef 100644
(file)
--- a/
tools/libxl/xl.c
+++ b/
tools/libxl/xl.c
@@
-590,7
+590,7
@@
skip_vfb:
if (!xlu_cfg_get_long (config, "pci_power_mgmt", &l))
pci_power_mgmt = l;
- if (xlu_cfg_get_list (config, "pci", &pcis, 0)) {
+ if (
!
xlu_cfg_get_list (config, "pci", &pcis, 0)) {
*num_pcidevs = 0;
*pcidevs = NULL;
while ((buf = xlu_cfg_get_listitem (pcis, *num_pcidevs)) != NULL) {